//
//  RXBankCardFormatTextField.h
//  RXFrame
//
//  Created by srxboys on 2021/4/21.
//

#import <RXFrame/RXFrame.h>

NS_ASSUME_NONNULL_BEGIN

@interface RXBankCardFormatTextFieldHandler : RXBlockTextFieldHandler
{
    NSString    *previousTextFieldContent; // 上一次输入的内容
    UITextRange *previousSelection;        /// 上一次的输入区域
}
@end

/// 银行卡号   -> xxxx xxxx xxxx xxxx xxxx xxx
@interface RXBankCardFormatTextField : RXBlockTextField
@property (nonatomic, strong, readonly) RXBankCardFormatTextFieldHandler *bankCardHandler;
@end

NS_ASSUME_NONNULL_END
